Skip to content

Return HTTP 403 instead of 500 on NoInstancesException#1643

Open
FurriousFox wants to merge 1 commit into
sabre-io:masterfrom
FurriousFox:NoInstancesException-status
Open

Return HTTP 403 instead of 500 on NoInstancesException#1643
FurriousFox wants to merge 1 commit into
sabre-io:masterfrom
FurriousFox:NoInstancesException-status

Conversation

@FurriousFox

Copy link
Copy Markdown

Partially mitigates issues caused by sabre/dav not accepting recurrence events without any instances (which technically doesn't satisfy RFC 5545, but is an understandable compromise).

This fix is essentially equal to the fix applied in Nextcloud nextcloud/server#46593
Concerns with HTTP 500 are best explained by nextcloud/server#30514 (comment)

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.24%. Comparing base (7e6eb94) to head (9eb64d3).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
lib/CalDAV/Backend/PDO.php 33.33% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1643      +/-   ##
============================================
- Coverage     97.26%   97.24%   -0.03%     
- Complexity     2845     2846       +1     
============================================
  Files           175      175              
  Lines          8887     8889       +2     
============================================
  Hits           8644     8644              
- Misses          243      245       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant